package poidemo.docx4j;

import java.io.File;
import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import org.docx4j.Docx4J;
import org.docx4j.openpackaging.exceptions.Docx4JException;
import org.docx4j.openpackaging.packages.WordprocessingMLPackage;

public class Docx4jDemo2 {

	public static void main(String[] args)
			throws Docx4JException, FileNotFoundException {
		WordprocessingMLPackage docxPkg = WordprocessingMLPackage
				.load(new File("D:\\tmp\\docx4j\\docs\\OpenDoPE_Images.docx"));
		Docx4J.toHTML(docxPkg, "D:\\tmp\\docx\\images","images2", new FileOutputStream("D:\\tmp\\docx\\fff.html"));
	}
}
